/* General */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

.container, .sub_container_level1, .sub_container_level2 {
    width: 95%;
    max-width: 1000px;
    margin: 20px auto;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.sub_container_level1 {
    background: #f4eae8;
}

.sub_container_level2 {
    background: #ecd3cd;
}
.header-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinea los elementos a la izquierda */
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-logo {
    height: 75px; /* Ajusta el tamaño de la imagen */
    margin-right: 15px; /* Espaciado entre la imagen y el texto */
    object-fit: contain; /* Asegura que la imagen mantenga su proporción */
}
/* Títulos */
h2, h3 {
    text-align: center;
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 15px;
}

/* Formularios */
form {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input, select, textarea, button {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

/* Botones */
.button_main {
    background-color: #206fa9;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 12px;
    text-align: center;
}

button:hover {
    background-color: #2980b9;
}

/* Tablas */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 14px;
}

table th {
    background-color: #3498db;
    color: white;
    font-size: 14px;
}

/* Mensajes */
.success-message {
    color: #27ae60;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

/* Secciones de términos y privacidad */
.terms-section, .privacy-section {
    margin-bottom: 30px;
}

.terms-section h3, .privacy-section h3 {
    color: #3498db;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.terms-section p, .privacy-section p {
    text-align: justify;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Responsividad */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .container, .sub_container_level1, .sub_container_level2 {
        width: 95%;
        padding: 15px;
        max-width: 600px;
    }

    h2, h3 {
        font-size: 50px;
        margin-bottom: 10px;
    }

    table th, table td {
        font-size: 14px;
        padding: 7px;
    }

    input, select, textarea, button {
        font-size: 50px;
        padding: 10px;
    }

    button {
        font-size: 50px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .container, .sub_container_level1, .sub_container_level2 {
        padding: 10px;
        max-width: 90%;
    }

    h2, h3 {
        font-size: 50px;
    }

    table th, table td {
        font-size: 12px;
        padding: 5px;
    }

    input, select, textarea, button {
        font-size: 50px;
        padding: 8px;
    }

    button {
        font-size: 50px;
        padding: 10px;
    }

    label {
        font-size: 50px;
    }
}

/* Mejora para botones más grandes en móviles */
@media (max-width: 480px) {
    button, .button_main {
        padding: 14px;
        font-size: 50px;
    }

    input, select, textarea {
        padding: 12px;
    }
}
